<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="GBK"%>
<%@ taglib prefix="sprForm" uri="http://www.springframework.org/tags/form" %>
<%
	String contextPath = request.getContextPath();
%>

<!DOCTYPE form PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Register</title>
</head>
<body>

<%-- 
<sprForm:form id="RegisterForm" commandName="Components.RegisterForm" action="/save/UserRegisterSave.do">
<label>username:</label><sprForm:input path="username" />
<label>password:</label><sprForm:password path="password"/>
<input type="submit" value="login" />
</sprForm:form>
 --%>


<form id="RegisterForm" action="<%=contextPath %>/save/UserRegisterSave.do" method="post" >
<table>
<tr><td>
	<label>username:</label><input type="text" name="username"  />
	</td></tr>
<tr><td>
	<label>password:</label><input type="password" name="password"  />
	</td></tr>
<tr><td >
	<input type="submit" value="register" />
	</td></tr>
</table>
</form>
</body>
</html> 